package com.mdd.admin.service;

import com.mdd.admin.validate.BusinessUserSearchValidate;
import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.vo.BusinessUserListedVo;
import com.mdd.common.core.PageResult;

import java.util.List;

/**
 * 总台账号服务接口类
 * @author LikeAdmin
 */
public interface IBusinessUserService {

    /**
     * 总台账号列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<BusinessUserListedVo>
     */
    PageResult<BusinessUserListedVo> list(PageValidate pageValidate, BusinessUserSearchValidate searchValidate);

    List<BusinessUserListedVo> allBusiness();

}
